package com.rsk.entity;


import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;


@Data
@Entity
@Table(name = "sys_users")
public class SysUser implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
/*	@Column(name = "id", unique = true, nullable = false, length = 50)
	private String id;*/
	
	@Id
	@Column(name = "id")
	private long id;//主键

	@Column(name = "account")
    private String account;//登录账号
	
	@Column(name = "password")
    private String passWord;//密码
	
	@Column(name = "user_name")
	private String userName;//姓名
	
	@Column(name = "type")
	private int type;//账号类型 
	
	@Column(name = "status")
	private int status;//是否禁用 0否 1是
	
	@Column(name = "is_del")
	private int isDel;//是否删除 0否 1是
	
	@Column(name = "operator_user")
	private long operatorUser;//操作人
	
	@Column(name = "operator_time")
	private Date operatorTime;//操作时间
	
}